﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Jvav_CS_Project
{
    class Mainprogram
    {
          static void Main(string[] args)
            {
            program: Console.Write(">Console:");
                string command = Console.ReadLine();
                switch (command)
                {
                    case "help":
                        Console.WriteLine("Help:");
                        Console.WriteLine("----------------------");
                        Console.WriteLine("1.help..............show helps");
                        Console.WriteLine("2.list..............show lists");
                        Console.WriteLine("3.exit..............exit the program");
                        Console.WriteLine("4.jvavc.............jvav development kit");
                        Console.WriteLine("----------------------");
                        goto program;
                    case "jvavc":
                        Console.WriteLine("Jvav Development Kit");
                        Console.WriteLine("Ver.1.0b updates100");
                        Console.WriteLine("----------------------------------");
                        Console.WriteLine("显示可用的参数，若需获取更多帮助，请访问jvav.top");
                        Console.WriteLine("----------------------------------");
                        Console.WriteLine("用法:jvavc -[type] -[support files] -[extra command] [source]");
                        Console.WriteLine("-d   使用调试模式");
                        Console.WriteLine("-v   读取程序的版本并显示");
                        Console.WriteLine("----------------------------------");
                        goto program;
                    case "jvavc -d":
                        Console.WriteLine("提供-d属性的附加值:");
                        string source = Console.ReadLine();
                        Console.WriteLine("抱歉！此版本暂不支持,请使用1.0 release版本以使用此属性");
                        goto program;
                    case "jvavc -v":
                        Console.WriteLine("提供-v属性的附加值:");
                        source = Console.ReadLine();
                        Console.WriteLine("抱歉！此版本暂不支持,请使用1.0 release版本以使用此属性");
                        goto program;
                    case "exit":
                        System.Environment.Exit(0);
                        break;
                    case "list":
                        Console.WriteLine("List:");
                        Console.WriteLine("---------------");
                        Console.WriteLine("1:EXIT");
                        Console.WriteLine("2:SHOW DETAILS");
                        string a;
                        a = Console.ReadLine();
                        if (a == "1")
                        {
                            System.Environment.Exit(0);
                        }
                        else if (a == "2")
                        {
                            Console.WriteLine("Version:1.0b");
                            goto program;
                        }
                        else
                        {
                            Console.WriteLine("Please repeat your command.Or you can press //help to get help");
                            goto program;
                        }
                        break;
                    default:
                        Console.WriteLine("Please repeat your command.Or you can press //help to get help");
                        goto program;
                }

            }
        }
    }
